body {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fa;
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 1.5rem;
    justify-content: center;
}
.add {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: #FF69B4; /* 更改背景颜色为更突出的粉色 */
    color: white;
    border: none;
    border-radius: 30px; /* 增加圆角 */
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.add i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}
.add:hover {
    background-color: #FF1493; /* 悬停时加深背景颜色 */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.add:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.note {
    width: 300px;
    background-color: #ffb6c1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.3s ease;
}
.note:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.note.tools {
    background-color: #2ecc71;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem;
}
.note.tools button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-left: 0.75rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.note.tools button:hover {
    color: #f4f4f4;
    transform: scale(1.1);
}
.note textarea {
    width: 100%;
    height: 200px;
    border: none;
    outline: none;
    resize: none;
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit;
    background-color: #ffb6c1;
}
.main {
    padding: 1.25rem;
    white-space: pre-wrap;
    line-height: 1.5;
}
.hidden {
    display: none;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    